<div class="col-sm-8 blog-main">

  <h2><%= @blog.title %></h2>

  <%= link_to 'Edit', edit_blog_path(@blog) if can? :update, Blog %>

  <p>
    <%= markdown @blog.body %>
  </p>

  <div>
    <%= render 'comments/comment_form' %>

    <br>

    <div id="comments" data-blog-id="<%= @blog.id %>">
      <%= render @blog.comments %>
    </div>
  </div>

</div>


